package com.nyj.config;

import com.nyj.utils.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @author niuyj
 * @date 2020/5/2 1:59
 * @description
 */
public class BoundSql {
    private String sql;
    List<ParameterMapping> parameterMappingList = new ArrayList<>();

    public BoundSql(String sql, List<ParameterMapping> parameterMappingList) {
        this.sql = sql;
        this.parameterMappingList = parameterMappingList;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public List<ParameterMapping> getParameterMappingList() {
        return parameterMappingList;
    }

    public void setParameterMappingList(List<ParameterMapping> parameterMappingList) {
        this.parameterMappingList = parameterMappingList;
    }
}
